#include <windows.h>
#include <stdio.h>
#include <stdarg.h>
#include "Window.h"

namespace helix
{

	Window::Window(HINSTANCE hInstance, const char* title,int width,int height,int bpp,float fov,bool fullScreen)
	{
		this->hInstance=hInstance;
		this->width=width;
		this->height=height;
		this->bpp=bpp;
		this->fov=fov;
		this->fullScreen=fullScreen;
		this->farClip=100.0f;
		this->nearClip=0.1f;
		this->created=false;
		this->title=new char[strlen(title)+1];
		strcpy(this->title,title);
		this->title[strlen(title)]='\0';
	}

	Window::~Window()
	{
		delete[] title;
	}
		
	bool Window::isFullScreen()
	{
		return fullScreen;
	}

}